package com.cn.dao;

import com.cn.entity.Card;
import org.springframework.stereotype.Component;

@Component
public interface CardMapper {


    Card getCardByNum(String cardNum);

    String getAccountByNum(String cardNum);

    Card findCard(Card card);

    void setCard(Card card);

    void unboundCard(Card card);
}
